package com.wzx.user.pojo.shop.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.wzx.user.common.BasePojo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author wzx
 * @version 1.0
 * @date 2023/2/16 - 18:59
 * @description 标题
 */
@Data
@TableName("t_release_dynamic")
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "ReleaseDynamic", description = "发布表")
public class ReleaseDynamic extends BasePojo {
    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(notes = "主键id", required = true)
    private Integer id;

    @TableField("type")
    @ApiModelProperty(value = "分类id")
    private Integer type;

    @TableField("detail")
    @ApiModelProperty(value = "描述")
    private String detail;

    @TableField("address")
    @ApiModelProperty(value = "预约地址")
    private String address;

    @TableField("time")
    @ApiModelProperty(value = "预约时间")
    private String time;

    @TableField("gender")
    @ApiModelProperty(value = "性别")
    private String gender;

    @TableField("price")
    @ApiModelProperty(value = "发布费用")
    private Integer price;

    @TableField("weight")
    @ApiModelProperty(value = "物品重量")
    private String weight;

    @TableField("imgs")
    @ApiModelProperty(value = "动态图片（多个以,隔开）")
    private String imgs;

    @TableField("releaseUserId")
    @ApiModelProperty(value = "发布者id")
    private Integer releaseUserId;

    @TableField("state")
    @ApiModelProperty(value = "发布状态（1：发布中；2：用户下单；3：商家已发货；4：商家已送达；5：用户已完成签收；6：用户已接单；7：用户开始处理订单；8：用户已完成订单；9：商户已完成签收；10：订单完成。）")
    private String state;

    @TableField("dynamicType")
    @ApiModelProperty(value = "发布类型（1：不需要预先付钱；2：需要预先付钱）")
    private String dynamicType;

    @TableField("orderUserId")
    @ApiModelProperty(value = "下单用户id")
    private Integer orderUserId;

    @TableField("orderState")
    @ApiModelProperty(value = "下单状态（1：未下单；2：已下单；3：订单完成）")
    private String orderState;

    @TableField("releaseUserDataState")
    @ApiModelProperty(value = "发布者查看状态（1：可查看；2：用户已删除）")
    private String releaseUserDataState;

    @TableField("orderDataState")
    @ApiModelProperty(value = "下单用户查看状态（1：可查看；2：用户已删除）")
    private String orderDataState;

}
